//
//  NSString+CXString.m
//  智积分
//
//  Created by Cynic on 2018/8/1.
//  Copyright © 2018年 Cynic. All rights reserved.
//

#import "NSString+CXString.h"

@implementation NSString (CXString)
-(NSString *)MakeIntStr{
    if ([self containsString:@"."]) {
        return [self componentsSeparatedByString:@"."][0];
    }
    return  self;
}
@end
